package com.wxapp.admin.api.pojo.vm.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author lgl
 * @Description 获取用户详情
 * @Datetime 2022/6/1 10:35
 * @Modified By
 */
@Data
public class PUserDetailVm extends PBaseVm implements Serializable {
    /**
     * 用户id
     */
    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String userId;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime endTime;
    /**
     * 公司
     */
    @Schema(description = "公司", requiredMode = Schema.RequiredMode.REQUIRED)
    private PUserOtherVm company;
    /**
     * 部门
     */
    @Schema(description = "部门", requiredMode = Schema.RequiredMode.REQUIRED)
    private PUserOtherVm dept;
    /**
     * 角色
     */
    @Schema(description = "角色", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<PUserOtherVm> roleList;
    /**
     * 岗位
     */
    @Schema(description = "岗位", requiredMode = Schema.RequiredMode.REQUIRED)
    private PUserOtherVm job;

}
